Shows the standard print dialog, allowing the user to print the currently loaded document.
'Declaration
Public Overloads Function Print( _
ByVal As System.String, _
ByVal () As System.Integer _
) As System.Boolean
public System.bool Print(
System.string ,
System.int[]
)
Parameters
- printerName
- The name of the printer that should be initially selected in the dialog.
- selectedPageNumbers
- The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
Return Value
True if the user pressed OK in the dialog, false if the user cancelled the dialog.